#include <jni.h>
#include <string>
#include "signature.h"

extern "C" JNIEXPORT jstring JNICALL
Java_com_yym_ndkauthsignature_MainActivity_stringFromJNI(
        JNIEnv* env,
        jobject cls,
        jobject contextObject) {
    std::string hello = "Hello from C++";
    signature::authSignature(env,contextObject);
    return env->NewStringUTF(hello.c_str());
}